import json  from 'rollup-plugin-json';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
console.log(process.env.ASD)
export default{
    input:'src/index.js', //入口文件
    output:{ //输出文件
        // file:'dist/bundle.js',
        // format:'iife'
        dir:"dist",
        format:"esm"
    },
    plugins:[json(),resolve(),commonjs()]
}